HyperV2019添加虚拟以太网交换机报应用虚拟交换机属性更改时出错

您所在的位置:网站首页 linux 修改提示符 HyperV2019添加虚拟以太网交换机报应用虚拟交换机属性更改时出错

HyperV2019添加虚拟以太网交换机报应用虚拟交换机属性更改时出错

2023-03-13 19:13| 来源: 网络整理| 查看: 265

hyper-v 添加虚拟以太网交换机连接时失败

  上传截图老是提示文件过大,传不上来,内容如下:在Hyper-v管理器中用虚拟交换机管理器新建虚拟网络交换机,选的是外部网络,点了应用之后弹出对话框提示:“应用 虚拟交换机属性 更改时出错” “修改虚拟以太网交换机设置时失败” “以太网端口{FC48AC1F-CA87-463D-A974-720E71000E61A}绑定失败:由于超时时间已过,该操作返回。(0x800705b4)”

 

解决方法安装网卡硬件厂商的最新驱动程序代替Windows自带微软网卡驱动程序

  Fix: Can’t create Hyper-V 2019 Virtual Switch (Error 0x80070002)

 By Jasmin Kahriman   May 24, 2019

  0 2 minutes read

RECOMMENDED: Click here to fix errors and optimize system performance

Every virtual machine that is hosted on Hyper-V 2019 probably requires a virtual network card in order to communicate with the rest of the network. In order to do so, we would need to create a virtual switch and assign it to the virtual machine. There are three different virtual switches on the Hyper-V including private, internal and external. The private network switch provides only communication between virtual machines that are hosted on a physical server. Next to that, the internal switch provides communication between virtual machines and Hyper-V host. The last, but not the least one is the external switch. An external switch is bound to the physical network card and provide communication with the entire network. After we create a virtual switch, the next step would be to assign a virtual switch to the virtual machine. Which switch will we assign? It depends on the virtual machine’s use case.

Some IT Admin is experiencing problems when creating virtual switches on the Hyper-V, regardless if they are trying to create it via GUI or Powershell. One of the error is known as “Error applying virtual switch properties changes. Failed while adding virtual ethernet switch connections.”  The details show the GUID of the adapter, with the final text, “The system cannot find the file specified. (0x80070002). The same issue occurs not only on Hyper-V 2019 but also on Hyper-V 2016 and Hyper-V 2012.

 

 

There are a few reasons why this problem occurs, but many of them are pointing to a problem with the network card. We will focus on two of them and walk you through solutions that have helped IT admins to solve a problem. It includes updating the network card, deleting NIC references and re-adding Hyper-V role. So, let’s start. If solution 1 doesn’t solve your problem, please try with solution 2.

Solution 1: Update network card drivers

In our case, we are using physical server HPE ProLiant ML350 Gen10 Server. In order to update the driver for the network card, we would need to access the manufacturer website and download an official driver for the network card. As this server uses Intel’s network card, we can also download it on Intel’s website.

 

Solution 2: Reinstall Hyper-V role and reset NIC references

 

Log in or connect to Windows Server 2019 where you installed Hyper-V roleOpen Server ManagerClick on Manage and then choose Remove Roles and FeaturesClick on Next under Before you beginSelect the destination server and click NextDeselect Hyper-V under Remove server roles and then click Remove FeaturesClick NextClick Next under Remove featuresSelect Restart the destination server automatically if requiredClick Yes to confirm and then click Windows will automatically restart.Log in or connect to Windows Server 2019 where you installed Hyper-V roleRight click on Start Menu and click Windows Powershell (Admin)Type netcfg -d and press Enter. This will delete all the NIC references, so be sure that you physical access to the server or have a good iLO or other management connection.Restart Windows Server 2019Log in or connect to Windows Server 2019 where you installed Hyper-V roleOpen Server Manager and install Hyper-V by following the same procedure as we use for removing the role. You will only need to select Hyper-V role.Left click on Start Menu and search for Hyper-V ManagerOpen Hyper-V ManagerNavigate and open Virtual Switch Manager on the right side of the Hyper-V Manager windowSelect External under What type of virtual switch do you want to create and then click Create Virtual SwitchType the name of the external switchChoose network card under External networkClick Apply and then OKNavigate to the virtual machine where you would like to assign a new virtual switchRight click on the virtual machine and click SettingsClick on Network AdapterChoose the External virtual switch under Virtual SwitchClick Apply and then OKAdd IP address (if you are not using DHCP)Enjoy working with Hyper-V and virtual machines

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3